const { sendRequest } = require('libraries/backend');

async function getPaymentParams(prepayId) {
    const result = await sendRequest({
        path: `/payment/${prepayId}/pay_params`,
        method: 'GET'
    });
    return result.data;
}

module.exports = { getPaymentParams };
